package com.cube.dp.cor;

import com.cube.dp.base.enable.EnableGlobalExceptionHandler;
import com.cube.dp.base.error.GlobalExceptionHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * @author cube.li
 * @date 2021/12/23 14:28
 */
@SpringBootApplication
@Import(GlobalExceptionHandler.class)
@EnableGlobalExceptionHandler
public class ChainOfRespPatternApplication {

    public static void main(String[] args) {
        SpringApplication.run(ChainOfRespPatternApplication.class, args);
    }
}
